<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>

</head>
<body>
<h1>测试跳转1</h1>

请输入密码：<input type="text" value="123">
<br>
<span th:text="${#strings.length(msg)}"></span>
<br>
<span th:text="${#dates.format(time)}"></span>
<span th:text="${#dates.format(time,'y-M-d')}"></span>
<br>
<span th:if="${sex}=='男'">男生</span>
<span th:if="${sex=='女'}">女生</span>
</body>
</html>